﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Mobile
{
    public partial class SignOut : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // 清除Session
            HttpContext.Current.Session.Clear();

            // 修改用户下线状态
            //FormsAuthentication.SignOut();
            // 取消当前回话
            HttpContext.Current.Session.Abandon();

            // 返回登录窗口
            Response.Redirect("~/login.aspx");
        }
    }
}